<?php

class Zend_View_Helper_Logo {
	
	public function setView($view) {
		$this->_view = $view;
		return $this;
	}
	
	public function Logo($type = "img") {
		$this->_type = $type;
		
		return $this;
	}
	
	public function __toString() {
		switch ($this->_type) {
			case "ascii":
				return file_get_contents(dirname(__FILE__) . "/logo.txt");
				break;
			case "img":
				return "<img align='middle' src='".$this->_view->baseUrl."/application/public/images/vaz_logo.gif'></img>";
				break;
		}
	}
	
}


?>